<template>
    <div class='p-search'>
        <topTable-Search v-model="form" :searchFunc="searchFunc" :clear="clear"></topTable-Search>
        <!-- <div class="list-wrapper" style="flex: 1;">
            <div class="content"> -->
                <comm-table ref="dragTable" :loading="loading" :data="tableData" style="width: 100%">
                    <el-table-column width="80" type="selection" />
                    <el-table-column prop="code" label="TOP" width="70" />
                    <el-table-column prop="mcode" label="项目编码" width="100" />
                    <el-table-column prop="codename" label="已收款" width="90" />
                    <el-table-column prop="peoplename" label="已付款" width="100" />
                    <el-table-column prop="status" label="本期因付款" width="90" />
                    <el-table-column prop="creatdata" label="本期因收款(从高到低)" width="200" />
                    <el-table-column prop="data" label="应收时间" width="140" />
                </comm-table>
            <!-- </div>
        </div> -->
    </div>
</template>

<script>
    import topTableSearch from './topTable-search.vue'
    import TableCommMixin from '@/mixins/TableCommMixin'
    export default {
        components: {topTableSearch },
        mixins: [TableCommMixin],
        data() {
            return {
                form:{},
                // url: {
                //     // 列表数据
                //     list: '/system/api/User',
                //     method: 'get',
                // },
                tableData:[],
            }
        },
        methods: {
            //清空
            clear() {

            },
            //导出
            export() {

            },
            //搜索
            searchFunc() {
                this.searchForm(this.form)
                this.$emit('searchForm', this.form)
            }
        },
        mounted() {

        },
    }
</script>
<style rel="stylesheet/scss" lang="scss">

</style>
